package cn.lanqiao.demo.service;

import cn.lanqiao.demo.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserService {
    public List<Map> login(String username , String password, Integer user_type);
    public String addUser(String username,String password,Integer user_type);
    //根据用户名修改用户密码
    public Integer updateUserPassword(String username,String password,String newPwd);
}
